package com.rabbiter.oes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "选择题题库表")
@TableName(value = "multi_question")
public class MultiQuestion {

    @TableId(value = "questionId", type = IdType.AUTO)
    @ApiModelProperty(value = "试题编号")
    private Integer questionId;

    @TableField(value = "subject_id")
    @ApiModelProperty(value = "考试科目ID")
    private String subjectId;

    @TableField(exist = false)
    @ApiModelProperty(value = "考试科目")
    private String subject;

    @TableField(value = "section")
    @ApiModelProperty(value = "所属章节")
    private String section;

    @TableField(value = "answerA")
    @ApiModelProperty(value = "选项A")
    private String answerA;

    @TableField(value = "answerB")
    @ApiModelProperty(value = "选项B")
    private String answerB;

    @TableField(value = "answerC")
    @ApiModelProperty(value = "选项C")
    private String answerC;

    @TableField(value = "answerD")
    @ApiModelProperty(value = "选项D")
    private String answerD;

    @TableField(value = "question")
    @ApiModelProperty(value = "问题题目")
    private String question;

    @TableField(value = "level")
    @ApiModelProperty(value = "难度等级")
    private String level;

    @TableField(value = "rightAnswer")
    @ApiModelProperty(value = "正确答案")
    private String rightAnswer;

    @TableField(value = "analysis")
    @ApiModelProperty(value = "题目解析")
    private String analysis;

    @TableField(value = "score")
    @ApiModelProperty(value = "分数")
    private Integer score;

}
